﻿using MediatR;

namespace J.ProductSet.Application.Command.ReleaseAppointmentCommand
{
    public class ReleaseAppointmentPostCommand : IRequest<int>
    {
        /// <summary>
        /// 预约名称
        /// </summary>
        public string? ReservationName { get; set; }
        /// <summary>
        /// 预约图片
        /// </summary>
        public string? BookingPicture { get; set; }
        /// <summary>
        /// 商品标签表的外键
        /// </summary>
        public int ProductabelId { get; set; }
        /// <summary>
        /// 预约简介
        /// </summary>
        public string? AppointmentBrief { get; set; }
        /// <summary>
        /// 预约详情
        /// </summary>
        public string? ReservationDetails { get; set; }
        /// <summary>
        /// 分类表的外键
        /// </summary>
        public int CategoryManagementID { get; set; }
        /// <summary>
        /// 时段类型
        /// </summary>
        public bool PeriodType { get; set; }
        /// <summary>
        /// 收费方式
        /// </summary>
        public bool ChargeMethod { get; set; }
        /// <summary>
        /// 预约文案
        /// </summary>
        public string? BookingCopy { get; set; }
        /// <summary>
        /// 预约单位
        /// </summary>
        public string? ReservationUnit { get; set; }
        /// <summary>
        /// 可用折扣
        /// </summary>
        public string? AvailableDiscount { get; set; }
        /// <summary>
        /// 可用优惠
        /// </summary>
        public string? AvailableOffer { get; set; }
        /// <summary>
        /// 预约日限购/人数
        /// </summary>
        public int PurchaseRestriction { get; set; }
        /// <summary>
        /// 赠送好友
        /// </summary>
        public bool GiftFriends { get; set; }
        /// <summary>
        /// 其他须知
        /// </summary>
        public string? OtherNotes { get; set; }
        /// <summary>
        /// 使用规则
        /// </summary>
        public string? RulesofUse { get; set; }
        /// <summary>
        /// 上架设置
        /// </summary>
        public int ShelfSetting { get; set; }
        /// <summary>
        /// 上架时间----上架设置为3时
        /// </summary>
        public DateTime ShelfTime { get; set; }
        /// <summary>
        /// 上架是否提前
        /// </summary>
        public bool InAdvance { get; set; }
        /// <summary>
        /// 上架提前的时间
        /// </summary>
        public int ShelfLeadTime { get; set; }
        /// <summary>
        /// 下架设置
        /// </summary>
        public bool TakedownSetup { get; set; }
        /// <summary>
        /// 下架时间----下架设置为true时
        /// </summary>
        public int TakedownTime { get; set; }
        /// <summary>
        /// 是否提前
        /// </summary>
        public bool EarlyRemoval { get; set; }
        /// <summary>
        /// 下架提前的时间
        /// </summary>
        public int RemovalLeadTime { get; set; }
        /// <summary>
        /// 卡券同步
        /// </summary>
        public bool VoucherSynchronization { get; set; }
        /// <summary>
        /// 海报标签
        /// </summary>
        public string? PosterLabel { get; set; }
        /// <summary>
        /// 手机号码，是一个单选按钮
        /// </summary>
        public bool MobilePhoneNumber { get; set; }
        /// <summary>
        /// 短信验证
        /// </summary>
        public bool SMSAuthentication { get; set; }
        /// <summary>
        /// -预留信息ID--获取预留信息表的ID集合
        /// </summary>
        public string? ReservedInformationID { get; set; }
        /// <summary>
        /// 分享标题
        /// </summary>
        public string? ShareTitle { get; set; }
        /// <summary>
        /// 分享描述
        /// </summary>
        public string? ShareDescription { get; set; }
        /// <summary>
        /// 分享图片
        /// </summary>
        public string? SharePictures { get; set; }
        /// <summary>
        /// 商品状态true为上架false为下架
        /// </summary>
        public bool AppointmentStatus { get; set; } = true;
    }
}
